﻿<div style="background-color:#f3f3f3;padding:10px;height:100%">
    <wt:row items-per-row=" ItemsPerRowEnum.Two" space="10">
        <wt:panel title="控制器" panel-type="Card">
            <wt:row items-per-row=" ItemsPerRowEnum.One">
                <wt:chart field="@ViewData["cd"]" height="400" is-horizontal="true" title="控制器" />
            </wt:row>
        </wt:panel>
        <wt:panel title="其他" panel-type="Card">
            <wt:row items-per-row=" ItemsPerRowEnum.One">
                <wt:chart field="@ViewData["cd2"]" height="400" is-horizontal="true" title="其他" />
            </wt:row>
        </wt:panel>
        <wt:container>
            <a href="//wtmdoc.walkingtec.cn" target="_blank">
                <h2>WTM框架文档</h2>
            </a>
            @if ((bool?)ViewData["debug"] == true)
            {
            <br /><br />
                <p style="font-size:16px">你正在使用<font color="Red">调试模式</font>，在调试模式下，框架会：</p>
                <p style="font-size:16px"><span class="layui-badge layui-bg-cyan">1</span>&nbsp;反射所有controller下的所有方法作为左侧菜单</p>
                <p style="font-size:16px"><span class="layui-badge layui-bg-cyan">2</span>&nbsp;登陆时自动添加用户名和密码</p>
                <p style="font-size:16px"><span class="layui-badge layui-bg-cyan">3</span>&nbsp;跳过权限验证</p>
                <p style="font-size:16px">修改appsettings文件中的IsQuickDebug可关闭调试模式，<a href="//wtmdoc.walkingtec.cn/#/QuickStart/FAQ" target="_blank">详见文档</a> </p>
            }
        </wt:container>
        <wt:container>
            <span style="font-size:16px">WTM是纯开源框架，如果喜欢，来GitHub赏个星~~</span>
            <a href="https://github.com/dotnetcore/wtm" target="_blank" style="background-color:#eee;background-image:linear-gradient(to bottom, #fcfcfc 0, #eee 100%);background-repeat:no-repeat;border:1px solid #d5d5d5;color:#333;padding:3px 10px 3px 8px;font-size:16px;line-height:22px">
                <span width="20" style="width:20px;height:20px;font-size:16px;line-height:22px;box-sizing:border-box; background-size:100% 100%; background-image:url('')">&nbsp;&nbsp;&nbsp;&nbsp;</span>
                <span>Stars <cite id="githubstars"></cite></span>
            </a>
        </wt:container>
    </wt:row>
</div>
<script>
        $.get("/_framework/GetGithubStarts", function (r) {
            $("#githubstars").html(r);
        });
</script>

